* {
  padding: 0;
  margin: 0;
}
.home {
  background-color: #f4f4f4;
  font-size: 12px;
  
  // 搜索框
  .sou{
    display: flex;
      background: #fff;
      height: 47px;
      line-height: 47px;
    span{
      display: inline-block;
      width: 15%;
      background: #fff;
      padding-left: 5px;
      line-height: 47px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }
::v-deep .van-search{
      // padding: 0px;
      box-sizing: border-box;
      width: 80%;
      height: 47px;
      display: inline-block;
      background: #fff;
      .van-search__content{
        background: #fff;
      }
      .van-cell {
          background: #fff;
      }
  }
  .img {
    width: 100%;
  }
  ::v-deep .van-swipe__indicator {
    background-color: red;
  }
  // 轮播下分类
  .channel {
    display: flex;
    padding: 10px 0 0 10px;
    margin: 0 0 8px 0;
    background: #fff;
    div {
      width: 25%;
      text-align: center;
      img {
        display: inline-block;
        width: 30px;
        height: 30px;
      }
      p {
        font-size: 12px;
      }
    }
  }
  // 品牌制造商直供
  .head {
    width: 100%;
    height: 56px;
    font-size: 12px;
    line-height: 52px;
    text-align: center;
    background-color: #fff;
  }
  // 供应商
  .contend {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 0 auto 4px;
    background-color: #fff;
    .cont {
      width: 178px;
      height: 116px;
      margin: 4px 0px;
      text-align: left;
      position: relative;
      :nth-child(2) {
        font-size: 12px;
      }
      img {
        width: 100%;
        height: 100%;
      }
      .tend {
        position: absolute;
        top: 0px;
        left: 0px;
        padding: 5px;
         p {
            margin: 12px auto;
        }
      }
    }
  }
  // 新品首发
  .newgoods {
    width: 100%;
    height: 122px;
    background: url("../../img/beijing.png") no-repeat 100% 100%;
    background-size: 100% 100%;
    margin-top: 4px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    :nth-child(1) {
      font-size: 16px;
      color: #d8e4f0;
      font-weight: 700;
    }
    :nth-child(2) {
        width: 90px;
        height: 25px;
        line-height: 25px;
        margin: 13.5px auto 0 auto;
        font-size: 11px;
        color: #918b8b;
        background-color:  #d8e4f0;
    }
  }
  //新品展示
  .list {
    margin-top: 10px;
    background: #fff;
    padding-bottom: 5px;
    // height: 300px;
    ul {
      width: 100%;
      white-space: nowrap;
      overflow-x: auto;
      margin: 0;
      padding: 0;
      list-style: none;
      .lists {
        width: 140px;
        height: 208px;
        margin: 2.5px 0 2.5px 12.5px;
        display: inline-block;
        img {
          width: 140px;
          height: 140px;
        }
        :nth-child(2) {
          font-size: 15px;
          font-weight: 700;
          width: 94%;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          margin-top: 4px;
          text-indent: 1em;
        }
        :nth-child(3) {
          color: #8a8a8a;
          font-size: 12px;
          width: 94%;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          margin-top: 4px;
          text-indent: 1em;
        }
        :nth-child(4) {
          color: #9c3232;
          font-size: 12px;
          width: 94%;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          margin-top: 4px;
          text-indent: 1em;
          text-align: start;
        }
      }
    }
  }
  // 人气好物
  .hotgoods {
    width: 100%;
    height: 122px;
    margin-top: 10px;
    height: 130px;
    background: url("../../img/beijing2.png") no-repeat;
    background-size: 100% 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    p {
      color: #b1a279;
      font-size: 16px;
      vertical-align: middle;
      span {
        width: 2px;
        height: 2px;
        font-size: 7px;
        display: inline-block;
        vertical-align: middle;
        background: #b1a279;
      }
    }
    :nth-child(2) {
      width: 90px;
      height: 25px;
      line-height: 25px;
      margin: 13.5px auto 0 auto;
      font-size: 10px;
      background: #f4e9cb;
    }
  }
  // 专题精选
  .topicList {
    margin-top: 10px;
    background: #fff;
    .topicList-top {
      text-align: center;
      padding: 18px;
      vertical-align: middle;
      .icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-left: 2.5px;
        background: url("../../img/an.png") no-repeat;
        background-size: 100% 100%;
        vertical-align: middle;
      }
    }
    .list {
      white-space: nowrap;
      overflow: auto;
      ul {
        margin: 0;
        padding: 0;
        list-style: none;
        .lis {
          display: inline-block;
          width: 287px;
          margin-left: 12.5px;
          img {
            display: block;
            width: 287.5px;
            height: 162.5px;
            border-radius: 5px;
          }
          .bot {
            display: flex;
            justify-content: space-between;
            margin-bottom: 21px;
            width: 100%;
            div:first-child {
              width: 90%;
              :nth-child(1) {
                font-size: 15px;
                font-weight: 700;
                text-align: left;
              }
              :nth-child(2) {
                width: 90%;
                color: #8a8a8a;
                font-size: 12px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                margin-top: 4px;
                text-align: left;
              }
            }
            :nth-child(2) {
              margin-top: 4px;
              color: #9c3232;
              font-size: 12px;
            }
          }
        }
      }
    }
  }
  //无限套娃
  .newcategory {
    margin-top: 10px;
    padding: 0 5px 12.5px 5px;
    .lists-c {
      padding: 12.5px;
      text-align: center;
    }
    .sublist {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      width: 100%;
      margin: 0 auto;
      div {
        width: 180px;
        background: #fff;
        margin-bottom: 5px;
        padding-bottom: 5px;
        text-align: left;
        p {
          margin-bottom: 2.5px;
          text-indent: 1em;
        }
        img {
          display: block;
          width: 151px;
          height: 151px;
          margin: 0 auto;
        }
        :nth-child(2) {
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          width: 98%;
        }
        :nth-child(3) {
          color: #9c3232;
        }
      }
      .last {
        display: flex;
        // flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        p {
          height: 16.5px;
          width: 100%;
          line-height: 16.5px;
          color: #333;
          font-size: 16.5px;
          text-align: center;
          margin-top: 20px;
        }
        .icons {
          display: inline-block;
          width: 35px;
          height: 35px;
          background: url("../../img/an1.png") no-repeat 0 0;
          background-size: 100% 100%;
          margin-bottom: 50px;
        }
      }
    }
  }
}